package com.bristua.barcode.order.dao;
import com.bristua.barcode.order.model.TCallbackMsg;
import com.bristua.barcode.order.model.condition.TCallbackMsgExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TCallbackMsgMapper {
    long countByExample(TCallbackMsgExample example);

    int deleteByExample(TCallbackMsgExample example);

    int deleteByPrimaryKey(String msgId);

    int insert(TCallbackMsg record);

    int insertSelective(TCallbackMsg record);

    List<TCallbackMsg> selectByExampleWithBLOBs(TCallbackMsgExample example);

    List<TCallbackMsg> selectByExample(TCallbackMsgExample example);

    TCallbackMsg selectByPrimaryKey(String msgId);

    int updateByExampleSelective(@Param("record") TCallbackMsg record, @Param("example") TCallbackMsgExample example);

    int updateByExampleWithBLOBs(@Param("record") TCallbackMsg record, @Param("example") TCallbackMsgExample example);

    int updateByExample(@Param("record") TCallbackMsg record, @Param("example") TCallbackMsgExample example);

    int updateByPrimaryKeySelective(TCallbackMsg record);

    int updateByPrimaryKeyWithBLOBs(TCallbackMsg record);

    int updateByPrimaryKey(TCallbackMsg record);

    int batchUpdate(@Param("recordList") List<TCallbackMsg> recordList);

    int batchInsert(@Param("recordList") List<TCallbackMsg> recordList);

    int batchDelete(@Param("ids") String[] ids);
}